// 照片相关类型定义

/**
 * 照片信息
 */
export interface Photo {
  id: number
  file_path: string
  file_name: string
  file_size: number
  file_hash: string
  width?: number
  height?: number
  format?: string
  created_at: string
  modified_at: string
  captured_at?: string
  camera_make?: string
  camera_model?: string
  latitude?: number
  longitude?: number
  altitude?: number
  thumbnail_path?: string
  preview_path?: string
  rating?: number
  description?: string
}

/**
 * 照片列表响应
 */
export interface PhotoListResponse {
  photos: Photo[]
  pagination: {
    page: number
    limit: number
    total: number
    totalPages: number
  }
}

/**
 * 照片筛选条件
 */
export interface PhotoFilters {
  search?: string
  dateFrom?: string | null
  dateTo?: string | null
  cameraMake?: string
  cameraModel?: string
  rating?: number | null
  tags?: number[]
  albums?: number[]
}

/**
 * 照片更新参数
 */
export interface PhotoUpdateParams {
  rating?: number
  description?: string
  [key: string]: any
}